package com.peas.platform.module.icims.contract.initial.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.ContractInitialPayeeRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.po.ContractInitialPayeePo;
import com.peas.platform.module.icims.contract.initial.domain.ContractInitialPayeeDomain;
import com.peas.platform.module.icims.contract.initial.dto.ContractInitialPayeeDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ContractInitialPayeeDomainImpl extends BaseDomainImpl<ContractInitialPayeeDto, ContractInitialPayeePo> implements ContractInitialPayeeDomain {

    @Resource
    private ContractInitialPayeeRepository contractInitialPayeeRepository;

    @Override
    public BaseRepository<ContractInitialPayeePo> getMapper() {
        return contractInitialPayeeRepository;
    }

    @Override
    public Class<? extends BaseRepository<ContractInitialPayeePo>> getRepositoryClass() {
        return ContractInitialPayeeRepository.class;
    }

}
